package cc.rengu.oltp.service.model;

import java.io.Serializable;

/**
 * Dubbo服务调用结果
 * Created by 王成 on 2018/7/4.
 */
public class DubboResult<T> implements Serializable {
    private boolean success;  /* 接口调用结果 */
    private String respCode;  /* 业务返回码 */
    private String respDesc;  /* 业务返回码描述 */
    private T result;         /* 业务响应数据 */

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getRespCode() {
        return respCode;
    }

    public void setRespCode(String respCode) {
        this.respCode = respCode;
    }

    public String getRespDesc() {
        return respDesc;
    }

    public void setRespDesc(String respDesc) {
        this.respDesc = respDesc;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}
